html {
  font-size: 50px;
}
@media screen and (min-width: 320px) {
  html {
    font-size: 21.33333333px;
  }
}
@media screen and (min-width: 360px) {
  html {
    font-size: 24px;
  }
}
@media screen and (min-width: 375px) {
  html {
    font-size: 25px;
  }
}
@media screen and (min-width: 384px) {
  html {
    font-size: 25.6px;
  }
}
@media screen and (min-width: 400px) {
  html {
    font-size: 26.66666667px;
  }
}
@media screen and (min-width: 414px) {
  html {
    font-size: 27.6px;
  }
}
@media screen and (min-width: 424px) {
  html {
    font-size: 28.26666667px;
  }
}
@media screen and (min-width: 480px) {
  html {
    font-size: 32px;
  }
}
@media screen and (min-width: 540px) {
  html {
    font-size: 36px;
  }
}
@media screen and (min-width: 720px) {
  html {
    font-size: 48px;
  }
}
@media screen and (min-width: 750px) {
  html {
    font-size: 50px;
  }
}
/* 初始化body */
body {
  min-width: 320px;
  max-width: 540px;
  margin: 0 auto;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
/*点击高亮我们需要清除清除 设置为transparent完成透明*/
* {
  -webkit-tap-highlight-color: transparent;
}
/*在移动端浏览器默认的外观在iOS上加上这个属性，才能给难喝输入框自定义样式*/
input {
  -webkit-appearance: none;
}
/*禁用长按页面时的弹出菜单*/
img,
a {
  -webkit-touch-callout: none;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.top_tips {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 1.8rem;
  background-color: #333;
  font-size: 0.56rem;
  line-height: 1.8rem;
  text-align: center;
  color: #fff;
  z-index: 10;
}
.top_tips div:nth-child(1) {
  width: 8%;
}
.top_tips div:nth-child(1) img {
  width: 0.4rem;
  vertical-align: middle;
}
.top_tips div:nth-child(2) {
  width: 10%;
}
.top_tips div:nth-child(2) img {
  width: 1.2rem;
  vertical-align: middle;
}
.top_tips div:nth-child(3) {
  width: 57%;
}
.top_tips div:nth-child(4) {
  width: 25%;
  background-color: #f63517;
}
.search_box {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 1.8rem;
  left: 0;
  width: 100%;
  height: 1.76rem;
  z-index: 1;
}
.search_box .search_left {
  width: 1.6rem;
  height: 1.76rem;
}
.search_box .search_left span {
  display: block;
  width: 0.8rem;
  height: 0.72rem;
  margin: 0.56rem 0 0 0.6rem;
  background: url(../images/s-btn.png) no-repeat 0 0;
  background-size: 0.8rem 0.72rem;
}
.search_box .login {
  width: 1.6rem;
  height: 1.76rem;
  line-height: 1.76rem;
  text-align: center;
  color: #fff;
}
.search_box .search {
  flex: 1;
  height: 1.2rem;
  margin: 0.28rem 0.6rem;
}
.search_box .search span {
  float: left;
  position: relative;
  width: 0.8rem;
  height: 0.6rem;
  margin: 0.32rem 0.32rem 0 0.3rem;
  background: url(../images/logo2.png) no-repeat 0 0;
  background-size: 0.8rem 0.6rem;
}
.search_box .search span::after {
  position: absolute;
  right: -0.28rem;
  content: "";
  width: 0.04rem;
  height: 0.64rem;
  background-color: #ccc;
}
.search_box .search i {
  float: left;
  width: 0.72rem;
  height: 0.6rem;
  margin: 0.32rem 0 0 0.2rem;
  background: url(../images/jd-sprites.png) no-repeat;
  background-position: -80px 0;
  background-size: 8rem;
}
.search_box .search .input {
  width: 100%;
  height: 1.2rem;
  padding: 0 0.4rem 0 2.72rem;
  border-radius: 0.6rem;
  background-color: #f7f7f7;
  font-size: 0.48rem;
  line-height: 1.2rem;
  box-sizing: border-box;
}
.search_box .search .input input {
  width: 100%;
  height: 0.64rem;
  background-color: #f7f7f7;
  border: none;
  margin-left: 0.2rem;
  padding-left: 0.2rem;
  box-sizing: border-box;
  color: #232326;
  vertical-align: middle;
}
.content {
  width: 100%;
  margin-top: 1.8rem;
  padding-bottom: 2.4rem;
  background-color: #f6f6f6;
}
.content .banner {
  position: relative;
  width: 100%;
  height: 7.48rem;
  overflow: hidden;
}
.content .banner .banner_bg {
  position: absolute;
  left: -25%;
  width: 150%;
  height: 5.8rem;
  border-bottom-left-radius: 100%;
  border-bottom-right-radius: 100%;
  background-image: linear-gradient(0deg, #f1503b, #c82519 50%);
}
.content .banner ul {
  position: relative;
}
.content .banner ul li {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 7.48rem;
  padding: 1.76rem 3.333% 0;
  box-sizing: border-box;
}
.content .banner ul li:nth-child(2) {
  left: 100%;
}
.content .banner ul li:nth-child(3) {
  left: 200%;
}
.content .banner ul li a {
  display: block;
}
.content .banner ul li a img {
  display: block;
  width: 100%;
  border-radius: 0.4rem;
}
.content .banner .banner_pos {
  position: absolute;
  bottom: 0.5rem;
  width: 100%;
  text-align: center;
}
.content .banner .banner_pos span {
  display: inline-block;
  width: 0.2rem;
  height: 0.2rem;
  background: hsla(0, 0%, 100%, 0.6);
  margin: 0 0.08rem;
  border-radius: 50%;
  box-sizing: border-box;
}
.content .banner .banner_pos span.current {
  background-color: #fa2c19;
}
.content .coupon {
  display: flex;
  width: 100%;
  overflow: hidden;
}
.content .coupon a {
  flex: 1;
}
.content .coupon a img {
  width: 100%;
}
.content nav {
  position: relative;
  width: 100%;
  height: 6.48rem;
}
.content nav .mall_nav {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 6.48rem;
}
.content nav .mall_nav a {
  width: 20%;
  height: 45.65%;
  font-size: 0.48rem;
  text-align: center;
  color: #666;
  text-decoration: none;
}
.content nav .mall_nav a img {
  display: block;
  width: 53%;
  margin: 0.32rem auto 0;
}
.content nav .mall_nav a span {
  display: block;
  margin-top: 0.192rem;
}
.content nav .nav_pos {
  display: flex;
  justify-content: center;
  position: absolute;
  left: 0;
  bottom: 0.04rem;
  width: 100%;
  height: 0.24rem;
}
.content nav .nav_pos span {
  width: 0.2rem;
  height: 0.2rem;
  margin: 0 0.12rem;
  background-color: #ccc;
  vertical-align: middle;
  border-radius: 50%;
}
.content nav .nav_pos span.current {
  background-color: #fa2c19;
}
.content .new_member {
  display: flex;
  width: 100%;
  padding: 0.2rem 0.4rem 0;
  box-sizing: border-box;
  overflow: hidden;
}
.content .new_member a {
  flex: 1;
}
.content .new_member a img {
  width: 100%;
}
.content .good_item {
  width: 100%;
  height: 10.2rem;
}
.content .good_item .container {
  display: flex;
  flex-wrap: wrap;
  width: 94.44444%;
  height: 9.68rem;
  margin: 0 0.4rem 0.4rem;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 0.6rem;
  overflow: hidden;
}
.content .good_item .container a {
  width: 25%;
  height: 4.8rem;
  padding: 0.325rem 0;
  box-sizing: border-box;
  text-decoration: none;
}
.content .good_item .container a:nth-child(1) {
  width: 50%;
}
.content .good_item .container a:nth-child(2) {
  width: 50%;
}
.content .good_item .container a span {
  display: block;
  height: 0.88rem;
  padding-left: 0.36rem;
  padding-top: 0.26rem;
  font-size: 0.64rem;
  line-height: 0.88rem;
  color: #000;
}
.content .good_item .container a p {
  margin: 0;
  padding: 0 0 0 0.36rem;
  font-size: 0.48rem;
  color: #666771;
}
.content .good_item .container a .img_c {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 0.56rem;
  box-sizing: border-box;
  overflow: hidden;
}
.content .good_item .container a .img_c img {
  width: 2.4rem;
  margin: 0.22rem 0.28rem 0;
}
.content .shop {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 0.4rem;
  box-sizing: border-box;
  overflow: hidden;
}
.content .shop li {
  width: 50%;
  height: 10.92rem;
  padding: 0 0.2rem 0.4rem 0;
  box-sizing: border-box;
}
.content .shop li:nth-child(2n) {
  padding: 0 0 0.4rem 0.2rem;
}
.content .shop li .shop_c {
  width: 100%;
  height: 100%;
  border-radius: 0.6rem;
  background-color: #fff;
  overflow: hidden;
}
.content .shop li .shop_c .shop_img {
  display: block;
  width: 100%;
}
.content .shop li .shop_c .shop_descript {
  display: inline-block;
  max-width: 100%;
  width: 100%;
  height: 1.28rem;
  margin: 0.2rem 0 0.12rem;
  font-size: 0.52rem;
  line-height: 0.64rem;
  color: #1a1a1a;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.content .shop li .shop_c .shop_descript img {
  display: inline-block;
  width: 1.8rem;
  height: 0.52rem;
}
.content .shop li .shop_c p {
  position: relative;
  width: 100%;
  height: 1.04rem;
  margin: 0;
}
.content .shop li .shop_c p .money {
  height: 1.04rem;
  padding: 0 0.2rem;
  font-size: 0.64rem;
  color: #fa2c19;
  line-height: 1.04rem;
}
.content .shop li .shop_c p .quick_pay {
  display: inline-block;
  width: 1.28rem;
  height: 0.64rem;
  padding: 0 0.12rem;
  margin-right: 0.2rem;
  border: 0.04rem solid #fa2c19;
  font-size: 0.48rem;
  line-height: 0.64rem;
  text-align: center;
  color: #fa2c19;
  box-sizing: border-box;
}
.content .shop li .shop_c p .like_shop {
  display: inline-block;
  position: absolute;
  right: -0.12rem;
  top: 0.08rem;
  width: 1.44rem;
  height: 0.88rem;
  padding: 0 0.2rem;
  background-color: #f0f2f5;
  border-radius: 0.55rem;
  font-size: 0.48rem;
  color: #808080;
  line-height: 0.88rem;
  text-align: center;
}
.bottom_nav {
  display: flex;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2rem;
  background-color: #fff;
  box-sizing: border-box;
  box-shadow: 0 0 5px 0 hsla(0, 6%, 58%, 0.6);
  overflow: hidden;
}
.bottom_nav a {
  flex: 1;
}
.bottom_nav a img {
  display: block;
  width: 2.6rem;
  margin: 0 auto;
}
